package com.easymin.weixin.entity.simpleCarPool;

import com.easymin.weixin.entity.BaseEntity;
import java.util.List;

/**
 * 工作车路线.
 * @author Administrator
 */
public class WorkCarArea extends BaseEntity {

  private static final long serialVersionUID = 1L;

  private String city;// 城市

  private String name;

  private Long companyId;

  private String companyName;

  private String startAddress;

  private Double startPointLng; // 开始点经度

  private Double startPointLat; // 开始点纬度

  private String endAddress;

  private Double endPointLng; // 结束点经度

  private Double endPointLat; // 结束点纬度

  private List<Waypoint> waypoints;// 途径地

  private List<WorkCar> workCars;// 跑这条线路的工作车

  private String appKey;

  public String getAppKey() {
    return appKey;
  }

  public void setAppKey(String appKey) {
    this.appKey = appKey;
  }

  public Long getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Long companyId) {
    this.companyId = companyId;
  }

  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }

  public String getStartAddress() {
    return startAddress;
  }

  public void setStartAddress(String startAddress) {
    this.startAddress = startAddress;
  }

  public String getEndAddress() {
    return endAddress;
  }

  public void setEndAddress(String endAddress) {
    this.endAddress = endAddress;
  }

  public List<Waypoint> getWaypoints() {
    return waypoints;
  }

  public void setWaypoints(List<Waypoint> waypoints) {
    this.waypoints = waypoints;
  }

  public List<WorkCar> getWorkCars() {
    return workCars;
  }

  public void setWorkCars(List<WorkCar> workCars) {
    this.workCars = workCars;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public Double getStartPointLng() {
    return startPointLng;
  }

  public void setStartPointLng(Double startPointLng) {
    this.startPointLng = startPointLng;
  }

  public Double getStartPointLat() {
    return startPointLat;
  }

  public void setStartPointLat(Double startPointLat) {
    this.startPointLat = startPointLat;
  }

  public Double getEndPointLng() {
    return endPointLng;
  }

  public void setEndPointLng(Double endPointLng) {
    this.endPointLng = endPointLng;
  }

  public Double getEndPointLat() {
    return endPointLat;
  }

  public void setEndPointLat(Double endPointLat) {
    this.endPointLat = endPointLat;
  }

  @Override
  public String toString() {
    return "WorkCarArea [city=" + city + ", name=" + name + ", companyId=" + companyId
        + ", companyName=" + companyName + ", startAddress=" + startAddress + ", startPointLng="
        + startPointLng + ", startPointLat=" + startPointLat + ", endAddress=" + endAddress
        + ", endPointLng=" + endPointLng + ", endPointLat=" + endPointLat + ", waypoints="
        + waypoints + ", workCars=" + workCars + ", appKey=" + appKey + ", id=" + id + ", created="
        + created + ", updated=" + updated + ", version=" + version + "]";
  }


}
